daa1d55185931673410b5fa389375e9f6c7e080c,platform/platform-impl/src/com/intellij/internal/focus/FocusTracesDialog.java,FocusTracesDialog,createCenterPanel,#,110
Before Change
final JComponent consoleComponent = new JPanel(new BorderLayout());
consoleComponent.add(consoleView.getComponent(), BorderLayout.CENTER);
consoleView.print(ExceptionUtil.getThrowableText(myRequests.get(myRequestsTable.getSelectedRow()).trace), ConsoleViewContentType.NORMAL_OUTPUT);
splitter.setSecondComponent(
new JBScrollPane(consoleComponent, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER));
After Change
JComponent consoleComponent = new JPanel(new BorderLayout());
consoleComponent.add(consoleView.getComponent(), BorderLayout.CENTER);
int row = myRequestsTable.getSelectedRow();
if (row >= 0) {
consoleView.print(ExceptionUtil.getThrowableText(myRequests.get(row).trace), ConsoleViewContentType.NORMAL_OUTPUT);
}